package com.taotao.wifepojie.controller;

import com.taotao.wifepojie.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangjin
 * @title: OrderController
 * @projectName wife-pojie
 * @description: 多数据源
 * @date 2022/4/18 0018 10:41
 */
@RestController
public class OrderController {
    @Autowired
    public OrderService orderService;
    @RequestMapping("/order")
    public  int order(){
     return    orderService.order();
    }

}
